package com.asset.salesforce.dao;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.asset.salesforce.domain.Follow;

@Repository

public class FollowDaoImpl {
@Autowired
SessionFactory sessionFactory;


public void addFollow(Follow follow) {
	try{
	sessionFactory.getCurrentSession().save(follow);
	}catch(Exception ex){
		ex.printStackTrace();
	}
}

}
